<script>
message = "SUCCESS";
function doTest(para) {
    var f = new Function('para', 'para.innerHTML = message;');
    f(para);
}
</script>
<body>
</body>

